<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="js\jquery-3.7.1.slim.min.js"></script>
    <ol>
        <li id = "id1">li1</li>
        <li>li2</li>
    </ol>
    <script>
        $(function(){
            // $("#id1").append("<li>append</li>");
            // $("ol").prepend("<li>prepend</li>");
            $("#id1").before("图⽚前插⼊");
        });

    </script>
    
</body>
</html>